// 11 接单管理 5
export default {
  path: '/receiveordermanage',
  name: 'receiveordermanage',
  icon: 'menu-fold',
  authority: ['ns:antd:receiveorder'],
  routes: [
    {
      path: '/receiveordermanage/addemployee',
      name: 'addemployee',
      hideChildrenInMenu: true,
      authority: ['ns:receive:addemployee'],
      routes: [
        {
          path: '/receiveordermanage/addemployee',
          redirect: '/receiveordermanage/addemployee/index',
        },
        {
          path: '/receiveordermanage/addemployee/index',

          component: './ReceiveOrderManage/AddEmployee/Index',
        },
        {
          path: '/receiveordermanage/addemployee/problem',
          name: 'detail',
          component: './ReceiveOrderManage/AddEmployee/Problem',
        },
        {
          path: '/receiveordermanage/addemployee/detail',
          name: 'detail',
          component: './ReceiveOrderManage/AddEmployee/Detail',
        },
        {
          path: '/receiveordermanage/addemployee/detailprots',
          name: 'detailprots',
          component: './ReceiveOrderManage/AddEmployee/Detailprot',
        },
        {
          path: '/receiveordermanage/addemployee/receipt',
          name: 'receipt',
          component: './ReceiveOrderManage/AddEmployee/Receipt',
        },
        {
          path: '/receiveordermanage/addemployee/update',
          name: 'update',
          component: './ReceiveOrderManage/AddEmployee/Receipt',
        },
        {
          path: '/receiveordermanage/addemployee/cancelreceipt',
          name: 'cancelreceipt',
          component: './ReceiveOrderManage/AddEmployee/CancelReceipt',
        },
        {
          path: '/receiveordermanage/addemployee/employeecontact',
          name: 'employeecontact',
          component: './ReceiveOrderManage/AddEmployee/EmployeeContact',
        },
        {
          path: '/receiveordermanage/addemployee/batchreplied',
          name: 'batchreplied',
          component: './ReceiveOrderManage/AddEmployee/BatchReplied',
        },
        {
          path: '/receiveordermanage/addemployee/batchfeedback',
          name: 'batchfeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
    {
      path: '/receiveordermanage/reduceemployee',
      name: 'reduceemployee',
      hideChildrenInMenu: true,
      authority: ['ns:receive:reduceemployee'],
      routes: [
        {
          path: '/receiveordermanage/reduceemployee',
          redirect: '/receiveordermanage/reduceemployee/index',
        },
        {
          path: '/receiveordermanage/reduceemployee/index',
          component: './ReceiveOrderManage/ReduceEmployee/Index',
        },
        {
          path: '/receiveordermanage/reduceemployee/receipt',
          name: 'receipt',
          component: './ReceiveOrderManage/ReduceEmployee/Receipt',
        },
        {
          path: '/receiveordermanage/reduceemployee/detail',
          name: 'detail',
          component: './ReceiveOrderManage/ReduceEmployee/Detail',
        },

        {
          path: '/receiveordermanage/reduceemployee/problem',
          name: 'detail',
          component: './ReceiveOrderManage/ReduceEmployee/Problem',
        },
        {
          path: '/receiveordermanage/reduceemployee/cancelreceipt',
          name: 'cancelreceipt',
          component: './ReceiveOrderManage/ReduceEmployee/CancelReceipt',
        },
        // {
        //   path: '/receiveordermanage/reduceemployee/batchreplied',
        //   name: 'batchreplied',
        //   component: './ReceiveOrderManage/ReduceEmployee/BatchReplied',
        // },
        {
          path: '/receiveordermanage/reduceemployee/batchfeedback',
          name: 'batchfeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
    {
      path: '/receiveordermanage/adjusttask',
      name: 'adjusttask',
      hideChildrenInMenu: true,
      authority: ['ns:receive:changeemployee'],
      routes: [
        {
          path: '/receiveordermanage/adjusttask',
          redirect: '/receiveordermanage/adjusttask/index',
        },
        {
          path: '/receiveordermanage/adjusttask/index',
          component: './ReceiveOrderManage/AdjustTask/Index',
        },
        {
          path: '/receiveordermanage/adjusttask/detail',
          name: 'detail',
          component: './ReceiveOrderManage/AdjustTask/Detail',
        },
        {
          path: '/receiveordermanage/adjusttask/problem',
          name: 'problem',
          component: './ReceiveOrderManage/AdjustTask/Problem',
        },
        {
          path: '/receiveordermanage/adjusttask/update',
          name: 'update',
          component: './ReceiveOrderManage/AdjustTask/Update',
        },
        {
          path: '/receiveordermanage/adjusttask/receipt',
          name: 'receipt',
          component: './ReceiveOrderManage/AdjustTask/Update',
        },
        {
          path: '/receiveordermanage/adjusttask/protdetail',
          name: 'protdetail',
          component: './ReceiveOrderManage/AdjustTask/ProtDetail',
        },
        // {
        //   path: '/receiveordermanage/adjusttask/batchreplied',
        //   name: 'batchreplied',
        //   component: './ReceiveOrderManage/AdjustTask/BatchReplied',
        // },
        {
          path: '/receiveordermanage/adjusttask/batchfeedback',
          name: 'batchfeedback',
          component: './components/Problem/ProblemPage/BatchFeedback',
        },
      ],
    },
    {
      path: '/receiveordermanage/singleaccount',
      name: 'singleaccount',
      authority: ['ns:receive:acco'],
      hideChildrenInMenu: true,
      routes: [
        {
          path: '/receiveordermanage/singleaccount',
          redirect: '/receiveordermanage/singleaccount/index',
        },
        {
          path: '/receiveordermanage/singleaccount/index',
          component: './CustomerServiceManage/SingleManage/Index',
        },
        {
          path: '/receiveordermanage/singleaccount/insdetail',
          name: 'insdetail',
          component: './CustomerServiceManage/SingleManage/InsDetail',
        },
        {
          path: '/receiveordermanage/singleaccount/accudetail',
          name: 'accudetail',
          component: './CustomerServiceManage/SingleManage/AccuDetail',
        },
      ],
    },
  ],
};
